package com.cdtye.itps.cms.dao.equipment.vo;

import com.cdtye.common.mybatiscore.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;

/**
 * 设备履历表  包含123456c的属性信息  连接厂家 分类表 对应关系1对1
 * @author sup
 * @date 2021-08-17
 */
@ApiModel("设备履历表  包含123456c的属性信息  连接厂家 分类表 对应关系1对1")
@Getter
@Setter
public class EquipmentDivceAttrVo extends BaseVo {


    @ApiModelProperty(value = "属性id")
    private String Id;

    @ApiModelProperty(value = "设备名称")
    private String divceName;

    @ApiModelProperty(value = "EQT_TYPE表id")
    private String typeId;

    @ApiModelProperty(value = "分类名称")
    private String typeName;

    @ApiModelProperty(value = "分类编号")
    private String typeNo;

    @ApiModelProperty(value = "sys_dept表code")
    private String deptId;

    @ApiModelProperty(value = "使用单位")
    private String deptName;

    @ApiModelProperty(value = "安装车号")
    private String carId;

    @ApiModelProperty(value = "0/1/2/3  崭新 良好 老化 报废")
    private String divceState;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "设备型号")
    private String divceType;

    @ApiModelProperty(value = "设备编号")
    private String divceNumber;

    @ApiModelProperty(value = "设备编码")
    private String eqtNumber;

    @ApiModelProperty(value = "目前只是单位id  公司信息未录入")
    private String divceTypeId;

    @ApiModelProperty(value = "固组单位")
    private String divceTypeName;

    @ApiModelProperty(value = "投运日期")
    @Pattern(regexp = "^(((?:19|20)\\d\\d)-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01]))$", message = "需要匹配格式：yyyy-MM-dd")
    private String divceDate;

    @ApiModelProperty(value = "EQT_PRODUCER id")
    private String producerId;

    @ApiModelProperty(value = "厂家名称")
    private String producerName;

    @ApiModelProperty(value = "厂家联系人")
    private String contactsPhone;

    @ApiModelProperty(value = "厂家电话")
    private String contacts;

    @ApiModelProperty(value = "设备寿命")
    private String divceAge;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "sys_dept的mocde")
    private String sysId;

    @ApiModelProperty(value = "存放位置")
    private String sysName;

    @ApiModelProperty(value = "存放id")
    private String sysNo;

    @ApiModelProperty(value = "mongo 库的 line表的 lineNo")
    private String lineNo;

    @ApiModelProperty(value = "线路名称")
    private String lineName;

    @ApiModelProperty(value = "JC_LINE_SITE 表的 line_site_id")
    private String lineSiteId;

    @ApiModelProperty(value = "区站名称")
    private String SiteName;


    @ApiModelProperty(value = "JCW_PILLAR表的pillar_number")
    private String pillarNumber;

    @ApiModelProperty(value = "支柱号")
    private String pillarName;

    @ApiModelProperty(value = "安装位置")
    private String installLocation;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结时间")
    private String endDate;

}
